package client;

import java.io.Serializable;

import javax.crypto.SealedObject;

@SuppressWarnings("serial")
public class Identifier implements Serializable {

    // attributes
    private final SealedObject sealedInfo;
    private final byte[]       signatureInfo;

    // constructor
    public Identifier(final SealedObject sealedInfo, final byte[] signatureInfo) {
        this.sealedInfo    = sealedInfo;
        this.signatureInfo = signatureInfo;
    }

    // public
    public SealedObject getSealedInfo() {
        return sealedInfo;
    }

    public byte[] getSignedInfo() {
        return signatureInfo;
    }
}
